package com.Qieces;

import java.awt.*;

/**
 * 死棋类
 *
 */
public class Death extends Qiece {

    public Death(int row,int col) {
        this.x = (col-1)*90 + 62;
        this.y = (row-1)*90 + 20;
        this.kind = 0;
        this.scl = 0;
        this.moveof = 0;
    }

    @Override
    public void paintSelf(Graphics g) {
        if(this.moveof == 1){
            g.drawImage(point,x+10,y+10,null);
        }else return;
    }

    @Override
    public boolean select(int x, int y) {
        return false;
    }

    @Override
    public void movingRange(Qiece[] qieces, int x, int y) {
        ;
    }
}
